<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: InputEventDispatcher类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_input_event_dispatcher-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">InputEventDispatcher类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>输入事件分发器  
 <a href="class_input_event_dispatcher.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_input_event_dispatcher_8h_source.html">InputEventDispatcher.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a8932c13a3fc1fefa48562cd4f993727b"><td class="memItemLeft" align="right" valign="top"><a id="a8932c13a3fc1fefa48562cd4f993727b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>addListener</b> (<a class="el" href="class_node.html">Node</a> *target, const std::shared_ptr&lt; <a class="el" href="class_input_event_listener.html">InputEventListener</a> &gt; &amp;listenter)</td></tr>
<tr class="separator:a8932c13a3fc1fefa48562cd4f993727b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f4619e586e52959304e6a9eeda77c1a"><td class="memItemLeft" align="right" valign="top"><a id="a4f4619e586e52959304e6a9eeda77c1a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeListenerAllByTarget</b> (const <a class="el" href="class_node.html">Node</a> *tagert)</td></tr>
<tr class="separator:a4f4619e586e52959304e6a9eeda77c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c436a4be52ef28088ce8ab995e230e3"><td class="memItemLeft" align="right" valign="top"><a id="a6c436a4be52ef28088ce8ab995e230e3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeListener</b> (int id)</td></tr>
<tr class="separator:a6c436a4be52ef28088ce8ab995e230e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeee3e546790a321932afa1d5b7ff97ab"><td class="memItemLeft" align="right" valign="top"><a id="aeee3e546790a321932afa1d5b7ff97ab"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeListenerAll</b> ()</td></tr>
<tr class="separator:aeee3e546790a321932afa1d5b7ff97ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adeff797a300c4cd9dccf27d956156915"><td class="memItemLeft" align="right" valign="top"><a id="adeff797a300c4cd9dccf27d956156915"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchEvent</b> (<a class="el" href="class_input_event.html">InputEvent</a> *e)</td></tr>
<tr class="separator:adeff797a300c4cd9dccf27d956156915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc64211d265a733ea1bc8fa89a6f3fa"><td class="memItemLeft" align="right" valign="top"><a id="aabc64211d265a733ea1bc8fa89a6f3fa"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchMouseEvent</b> (HWND hwnd, UINT msg, float x, float y)</td></tr>
<tr class="separator:aabc64211d265a733ea1bc8fa89a6f3fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee826302781fc36b2dbc9ac7159c8429"><td class="memItemLeft" align="right" valign="top"><a id="aee826302781fc36b2dbc9ac7159c8429"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchKeyEvent</b> (HWND hwnd, UINT msg, WPARAM key)</td></tr>
<tr class="separator:aee826302781fc36b2dbc9ac7159c8429"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3e6667de4323d3791890399685aafa0"><td class="memItemLeft" align="right" valign="top"><a id="ac3e6667de4323d3791890399685aafa0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchCharterEvent</b> (wchar_t ch)</td></tr>
<tr class="separator:ac3e6667de4323d3791890399685aafa0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a49a2bad8ec29f55bc9367e3c9e0bacaa"><td class="memItemLeft" align="right" valign="top"><a id="a49a2bad8ec29f55bc9367e3c9e0bacaa"></a>
static <a class="el" href="class_input_event_dispatcher.html">InputEventDispatcher</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getInstance</b> ()</td></tr>
<tr class="separator:a49a2bad8ec29f55bc9367e3c9e0bacaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a43d84c303f5b4559f34a74e22dd74a9e"><td class="memItemLeft" align="right" valign="top"><a id="a43d84c303f5b4559f34a74e22dd74a9e"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>InputEventListener</b></td></tr>
<tr class="separator:a43d84c303f5b4559f34a74e22dd74a9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>输入事件分发器 </p>
</div><hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/base/<a class="el" href="_input_event_dispatcher_8h_source.html">InputEventDispatcher.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
